home *** CD-ROM | disk | FTP | other *** search
- Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
- From: grantp@usa.pipeline.com(Pete Grant)
- Newsgroups: comp.lang.c++,
- Subject: Re: g++ 2.5.8 -> 2.7.0 Syntax Error
- Date: 29 Mar 1996 02:25:16 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4jfhmc$b72@news1.h1.usa.pipeline.com>
- References: <boyseDozKHC.JyA@netcom.com>
- NNTP-Posting-Host: 38.8.120.16
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete Grant)
- X-Newsreader: Pipeline v3.5.0
-
- On Mar 28, 1996 16:29:35 in article <g++ 2.5.8 -> 2.7.0 Syntax Error>,
- 'boyse@netcom.com (William Boyse)' wrote:
-
-
-
- >Element *Next_Element(Element *ptr_elt)
- >{
- >ptr_elt = new Tri_6(); // ******* THIS IS THE OFFENDING LINE ********
-
- Omit the parentheses. When constructing a class without
- passing any parameters, the parentheses are not appropriate.
-
- --
- Pete Grant
- Kalevi, Inc.
- Software Engineering & development
-